package com.zoweunion.mechanic.service.app;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zoweunion.mechanic.entity.TSSsInsuranceEntity;
import com.zoweunion.mechanic.model.ResponseBean;
import com.zoweunion.mechanic.model.User;
import com.zoweunion.mechanic.util.MyException;

import java.util.Map;


public interface TSSsInsuranceService extends IService<TSSsInsuranceEntity>{

    PageInfo<TSSsInsuranceEntity> queryPage(Map<String, Object> map,User currentUser);

    Long updateInsurance(TSSsInsuranceEntity params, User user);

    Long saveInsurance(TSSsInsuranceEntity params, User user) throws MyException;

    TSSsInsuranceEntity getInsuranceDetail(String id);

    void updateStatus(TSSsInsuranceEntity params, User currentUser);

    ResponseBean updateExpress(TSSsInsuranceEntity params,User currentUser);

    Map<String,Object> getPayStatus(Map<String, Object> params, User currentUser);

//    TSSsInsuranceEntity logisticsExpress(Map<String, Object> map);
}

